package com.集合;

import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class 关于Map
{
    public static void main(String[] args)
    {
        Map<String,String> map = new LinkedHashMap<>();
        map.put("1","1");
        map.put("2","2");
        map.put("3","3");
        map.put("4","4");
        map.put("5","5");
        for(String s : map.keySet()){
            System.out.println(s + map.get(s));
        }
    }
}
